<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.tjsinfo.tjsoa.system.vo.User"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String type = request.getParameter("type");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>left</title>

<!-- CSS -->
<link href="<%=basePath%>style/layout.css" rel="stylesheet" type="text/css" media="screen" />
<!-- JavaScripts-->
	<script type="text/javascript" src="<%=basePath%>/ajaxFramework/jQuery/jquery.js"></script>
	<script type="text/javascript">
	
	 $(function() {
	   $.getJSON("<%=basePath%>tjsinfo/tjsoa/system/flowleft.do",{method:"getFlowLeft", random: Math.random()},function(data){
  			$("#menuleft").append(data.menu);
  			$("a").click(function(){
  			   $("a").removeClass("active"); //移除class
  			   $(this).addClass("active"); //添加 class
  		 }); 
  		<%{ if("shouwen".equals(type)){ %>
  			$("a").each(function(i){
  			//	alert($(this).text());
  				if($(this).text()=='收文管理'){
  				  $("a").removeClass("active") //移除class
  	  			   $(this).addClass("active"); //添加 class
  				}
  			});
  		<%} }%>
  			
		}); 
  });
  
  
</script>
</head>

<body>
	<div id="wrapper"> 
        <div id="containerHolder">
			<div id="container">
        		<div id="sidebar">
                	<ul class="sideNav" id="menuleft">
					  </ul>
                </div>
                
                <div class="clear"></div>
            </div>
            <!-- // #container -->
        </div>	
        <!-- // #containerHolder -->
    </div>
    <!-- // #wrapper -->
</body>
</html>
